<div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">学生用户信息管理</h4>
      </div>
      <div class="modal-body">   
				<form class="form-horizontal" id="USform">
											
							  <div class="form-group">
				    <label for="inputEmail3" class="col-sm-2 control-label">院系代码</label>
				    <div class="col-sm-8">
				      <input type="text" class="form-control" name="XDM" id="xdm" value="{$user.xdm}">
				    </div>
				  </div>
				  <div class="form-group">
				    <label for="inputPassword3" class="col-sm-2 control-label">班级号码</label>
				    <div class="col-sm-8">
				      <input type="text" class="form-control"  name="BJHM"  value="{$user.bjhm}">
				    </div>
				  </div>  
				  <div class="form-group">
				    <label for="inputPassword3" class="col-sm-2 control-label">学号</label>
				    <div class="col-sm-8">
				      <input type="text" class="form-control"  name="XH" value="{$user.xh}">
				    </div>
				  </div> 
				  <div class="form-group">
				    <label for="inputPassword3" class="col-sm-2 control-label">姓名</label>
				    <div class="col-sm-8">
				      <input type="text" class="form-control"  name="XM" value="{$user.xm}">
				    </div>
				  </div> 
				  <div class="form-group">
				    <label for="inputPassword3" class="col-sm-2 control-label">性别</label>
				    <div class="col-sm-8">
				      <input type="text" class="form-control"  name="XBDM" value="{$user.xbdm}">
				    </div>
				  </div> 
				  <div class="form-group">
				    <label for="inputPassword3" class="col-sm-2 control-label">身份证证所在地</label>
				    <div class="col-sm-8">
				      <input type="text" class="form-control"  name="SFZHM"  value="{$user.sfzhm}">
				    </div>
				  </div> 
				  <div class="form-group">
				    <label for="inputPassword3" class="col-sm-2 control-label">考生号</label>
				    <div class="col-sm-8">
				      <input type="text" class="form-control"  name="ksh"  value="{$user.ksh}">
				    </div>
				  </div>
				</form>
      
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" id="close" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" onclick="Usave()">保存信息</button> 
      </div>
    </div>
  </div>
  <script>
  function Usave(){ 
	  var aa=$('#USform').serialize();
	  var url="{:U('Usave')}?"+aa;
	  $.post(url,{},function(result){
		    if(result=='1'){
		    	$("#close").trigger("click"); 
		    	window.location.reload(); 
		    }
		  });	
  }
  </script>